package com.seed.core.enumeration;

import com.mybatisflex.annotation.EnumValue;

public enum AccountType {
    admin("admin", "超级管理员"),
    userUsername("userUsername", "内部用户用户名"),
    userCode("userCode", "内部用户户号"),
    tenantUsername("tenantUsername", "租户用户名"),
    tenantUserUsername("tenantUserUsername", "租户用户用户名"),
    tenantUserCode("tenantUserCode", "租户用户户号");

    private final String value;
    private final String label;

    AccountType(String value, String label) {
        this.value = value;
        this.label = label;
    }

    @EnumValue
    public String getValue() { return value; }

    public String getLabel() {
        return label;
    }
}
